package 预科0102Phone;
/*用户消费信息类 特征：统计通话时长、统计上网流量、每月消费金额 */
public class UserConsumption {
	private float sumCallTime;
	private float sumNetFlow;
	private float sumCost;
	//构造方法
	public UserConsumption() {
	}
	public UserConsumption(float sumCallTime, float sumNetFlow, float sumCost) {
		super();
		this.sumCallTime = sumCallTime;
		this.sumNetFlow = sumNetFlow;
		this.sumCost = sumCost;
	}
	public void show() {
		System.out.println("该用户统计通话时长为"+this.getSumCallTime()+" 统计上网流量为"+this.getSumNetFlow()+" 每月消费金额为"+this.getSumCost());
	}
	
	public float getSumCallTime() {
		return sumCallTime;
	}
	public void setSumCallTime(float sumCallTime) {
		this.sumCallTime = sumCallTime;
	}
	public float getSumNetFlow() {
		return sumNetFlow;
	}
	public void setSumNetFlow(float sumNetFlow) {
		this.sumNetFlow = sumNetFlow;
	}
	public float getSumCost() {
		return sumCost;
	}
	public void setSumCost(float sumCost) {
		this.sumCost = sumCost;
	}
	
}
